/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.kleintjes.atm.Impl;

import za.ac.cput.kleintjes.atm.ATM;

/**
 * @author Administrator
 */

public class ATMImpl implements ATM
{
    private double amount = 100;
    
    @Override
    public double balance() {
        return 100.00;
    }

    @Override
    public double deposit(double a) {
        return (amount+a);
    }

    @Override
    public double withdraw(double a) {
        return (amount-a);
    }
}


